﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.Skins;
using DevExpress.LookAndFeel;
using DevExpress.UserSkins;
using DevExpress.XtraEditors;
using DevExpress.XtraReports.UI;
using IB_report_stand.Dialog;


namespace IB_report_stand
{
    public partial class Form1 : XtraForm
    {
        public Form1()
        {
            InitializeComponent();
            

        }

        private void btn_rpt_sale_diary_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            dlg_sale_diary dlg = new dlg_sale_diary();
            dlg.ShowDialog(this);

            //rpt_sale_diary report = new rpt_sale_diary();
            //ReportPrintTool tool = new ReportPrintTool(report);
            //tool.ShowPreview();
        }

        private void mnuCompanySetting_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            dlg_company_settings dlgCompany = new dlg_company_settings();
            dlgCompany.ShowDialog(this);
        }

        private void mnuBankDebit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            dlg_bank_debit dlgBank = new dlg_bank_debit();
            dlgBank.ShowDialog(this);
        }

        private void mnuStockReport_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            dlg_stock dlgStock = new dlg_stock();
            dlgStock.ShowDialog(this);
        }

       

        

    }
}